home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET 2
/
BCI NET 2.iso
/
archives
/
programming
/
amos
/
amoslist-0195.lzh
/
AMOSLIST
/
text0275.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-02-01
|
282 b
|
14 lines
Star fields are EASY.
Set up an array STAR(number_of_stars,2)
STAR(x,0)=X location on screen
STAR(x,1)=Y location on screen
STAR(x,2)=speed of star
start by making random values in STAR(x,0) and STAR(x,1), and plot the
dots. Just add STAR(x,2) to either x or y and redisplay